﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.StockControl_GJH.Dto.Input
{
    public class UpdateAllotInput
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string AllotId { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public string DocumentType { get; set; }

        /// <summary>
        /// 调拨类型
        /// </summary>
        public string TransferType { get; set; }
        /// <summary>
        /// 调出仓库id
        /// </summary>
        public string OpenWareHouse { get; set; }
        /// <summary>
        /// 调入仓库id
        /// </summary>
        public string CloseWareHouse { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string ResponsiblePerson { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string PreparedBy { get; set; }

        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PrepareData { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        public string Audit { get; set; }
        public List<updateSub> LatestSub { get; set; }
    }
    public class updateSub
    {
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string AllotId { get; set; }
        /// <summary>
        /// 货品单号
        /// </summary>
        public string CommodityId { get; set; }
        /// <summary>
        /// 仓库单号
        /// </summary>
        public string WarehouseId { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public string AllotNumber { get; set; }
        /// <summary>
        /// 调拨金额
        /// </summary>
        public string AllotMoney { get; set; }
        /// <summary>
        /// 调拨备注
        /// </summary>
        public string Remark { get; set; }
    }
}
